f(x)=\cos x

f: y = cos(x)
N = 0 (slider from 0 to 7, step 1)
g = Sum(((-1)^(n) * x^((2 * n)) / ((2 * n))!), n, 0, N)